package com.bbcare.followup.plat.store.ibatis;

import java.util.List;
import java.util.Map;

import com.bbcare.followup.plat.entity.QuestionData;

//线上问卷记录接口
public interface IQuestionsDataDAO {

	//通过任务id和患者id和类型查询当前用户当天问卷
	List<QuestionData> selectQuestionByTaskid(QuestionData qd) throws Exception;
	
	//更新接口
	void updateQuestionByTaskid(QuestionData qd) throws Exception;
	
	//新增问卷
	void savePatientQuestions(QuestionData qd) throws Exception;
	
	//删除
	void deleteQuestionDelete(Map<String,Object> map) throws Exception;

	//通过任务id和患者id和类型查询当前用户最近6次问卷
	List<QuestionData> selectQuestionSixTime(Map<String,Object> map) throws Exception;
	
	//查询删除过的问卷信息
	List<QuestionData> selectQuestionDelete(Map<String,Object> map) throws Exception;
	
	Map <String,Object>selectQueryCondition(Map<String,Object> map) throws Exception;
}
